package com.bvblogic.android.services;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class HelperService extends Service {
	
	private static HelperService instance;

	@Override
	public void onCreate() {
		super.onCreate();
		instance = HelperService.this;
	}
	
	public static HelperService getInstance() {
		if(instance != null)
			return instance;
		throw new RuntimeException("Can't start HelperService");
	}
	
	@Override
	public IBinder onBind(Intent arg0) {
		// TODO Auto-generated method stub
		return null;
	}
	
	public static boolean isReady() {
		return instance != null;
	}

}
